package com.yykj.prescription.server.model.repository.template;

import com.yykj.prescription.server.model.entity.template.TemplateDetailWest;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TemplateDetailWestRepository extends JpaRepository<TemplateDetailWest,Integer> {
    List<TemplateDetailWest> findAllByTempId(Integer tempId);
    List<TemplateDetailWest> findAllByTempIdIn(List<Integer> tempIds);
}
